package Year2021.month10.Day21.Day25;

public class Aircraft extends Airplane{
    public Aircraft(double weight, double height,String name) {
        super(name,weight, height);
    }
    public int seatNum=100;

    @Override
    public void takeOff(Airplane airplane) {
        show();
        super.takeOff(airplane);
        System.out.println(name+"在起飞前可以载客"+seatNum+"位");
    }
}
